package com.bobo.web.provider.service.impl;

import com.bobo.web.api.domain.wxUser.WxUser;
import com.bobo.web.api.vo.base.ResponseResult;
import com.bobo.web.provider.dao.wxUser.WxUserMapper;
import com.bobo.web.provider.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private WxUserMapper wxUserMapper;
    @Override
    public ResponseResult<Integer> insertWxUserSelective(WxUser record) {
        ResponseResult<Integer>  responseResult = new ResponseResult<>();
        int i = wxUserMapper.insertWxUserSelective(record);
        responseResult.setData(i);
        return responseResult;
    }

    @Override
    public WxUser selectWxUserByPrimaryKey(String openId) {
        return null;
    }

    @Override
    public int updateWxUserByPrimaryKeySelective(WxUser record) {
        return 0;
    }
}
